// 封装接口  

// 登陆

import ajax from './ajax.js';

export const login = data => ajax({
    type: 'post',
    url: 'http://121.43.116.41/php/login.php',
    data
})

export const reg = data => ajax({
    type: 'post',
    url: 'http://121.43.116.41/php/reg.php',
    data
})
